package com.example.demo.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WJ
 * Date: 2023-03-14
 * Time: 17:51
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EmployeeOlder {
    private Integer id;


    private Integer employee_id;
    private String employee_name;
    private String employee_phone;
    private String employee_address;

    private Integer older_id;
    private String older_name;
    private String older_phone;
    private String older_address;

    private String is_grade;
    private Float grade;
    private String context;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date create_time;
}
